#include <iostream>
#include "ShareMemory.hpp"



int main()
{
    shm.CreateShm();
    shm.AttachShm();


    char* strinfo = (char*)shm.GetAddr();

    while(true)
    {
        printf("%s\n",strinfo);
        sleep(1);
    }


    shm.DetachShm();
    shm.DeleteShm();

    return 0;
}
